package com.ai.aicontact.busi.vo;
 

import java.util.Date;

import javax.persistence.*;

import com.fasterxml.jackson.annotation.JsonFormat;

/***************
 *author: autogen
 *version: 2016-08-13 21:01:56.523
 */
public class CriticalPointCatagoryVO implements java.io.Serializable{

	private static final Long serialVersionUID = 1L;
	
	public CriticalPointCatagoryVO(java.math.BigDecimal catagoryId,String catagoryName,java.math.BigDecimal catagoryLevel,java.math.BigDecimal parentId, Date createDate,String remarks,java.math.BigDecimal sortBy,String parentName){
	this.catagoryId = catagoryId;
	this.catagoryName = catagoryName;
	this.catagoryLevel = catagoryLevel;
	this.parentId = parentId;
	this.createDate = createDate;
	this.remarks = remarks;
	this.sortBy = sortBy;
	this.parentName = parentName; 
	}

    public static final String TABLE = "CRITICAL_POINT_CATAGORY";

 
	

 	
    public java.math.BigDecimal catagoryId;
  
    public java.lang.String catagoryName;
  
    public java.math.BigDecimal catagoryLevel;
  
    public java.math.BigDecimal parentId;
  
    public java.math.BigDecimal state;
  
 	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    public java.util.Date createDate;
  
 	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public java.util.Date doneDate;
  
    public java.lang.String remarks;
  
    public java.math.BigDecimal sortBy;
  

 	public java.lang.String parentName;
 	
 	public String getParentName(){
 		return this.parentName;
 	}
	public void setParentName(String parentName){
 		 this.parentName = parentName;
 	}


	public java.math.BigDecimal getCatagoryId() {
		return this.catagoryId;
	}
	
	public void setCatagoryId(java.math.BigDecimal value) {
		this.catagoryId = value;
	}

	
	
	public java.lang.String getCatagoryName() {
		return this.catagoryName;
	}
	
	public void setCatagoryName(java.lang.String value) {
		this.catagoryName = value;
	}

	public java.math.BigDecimal getCatagoryLevel() {
		return this.catagoryLevel;
	}
	
	public void setCatagoryLevel(java.math.BigDecimal value) {
		this.catagoryLevel = value;
	}

	public java.math.BigDecimal getParentId() {
		return this.parentId;
	}
	
	public void setParentId(java.math.BigDecimal value) {
		this.parentId = value;
	}

	public java.math.BigDecimal getState() {
		return this.state;
	}
	
	public void setState(java.math.BigDecimal value) {
		this.state = value;
	}

	public java.util.Date getCreateDate() {
		return this.createDate;
	}
	
	public void setCreateDate(java.util.Date value) {
		this.createDate = value;
	}

	public java.util.Date getDoneDate() {
		return this.doneDate;
	}
	
	public void setDoneDate(java.util.Date value) {
		this.doneDate = value;
	}

	public java.lang.String getRemarks() {
		return this.remarks;
	}
	
	public void setRemarks(java.lang.String value) {
		this.remarks = value;
	}

	public java.math.BigDecimal getSortBy() {
		return this.sortBy;
	}
	
	public void setSortBy(java.math.BigDecimal value) {
		this.sortBy = value;
	}


	
	public CriticalPointCatagoryVO() {
	}
	
	public CriticalPointCatagoryVO(boolean qryflag) {
	    if(qryflag){
	    		this.catagoryId = null;
				this.catagoryName = null;
				this.catagoryLevel = null;
				this.parentId = null;
				this.state = null;
				this.createDate = null;
				this.doneDate = null;
				this.remarks = null;
				this.sortBy = null;
			    }
	}


	public CriticalPointCatagoryVO(
	    java.math.BigDecimal inCatagoryId,
	    java.lang.String inCatagoryName,
	    java.math.BigDecimal inCatagoryLevel,
	    java.math.BigDecimal inParentId,
	    java.math.BigDecimal inState,
	    java.util.Date inCreateDate,
	    java.util.Date inDoneDate,
	    java.lang.String inRemarks,
		java.math.BigDecimal inSortBy
	 ) {
		super();
				this.catagoryId = inCatagoryId;
				this.catagoryName = inCatagoryName;
				this.catagoryLevel = inCatagoryLevel;
				this.parentId = inParentId;
				this.state = inState;
				this.createDate = inCreateDate;
				this.doneDate = inDoneDate;
				this.remarks = inRemarks;
				this.sortBy = inSortBy;
			}

 


}

